翻訳と辞書
Words near each other
・ "O" Is for Outlaw
・ "O"-Jung.Ban.Hap.
・ "Ode-to-Napoleon" hexachord
・ "Oh Yeah!" Live
・ "Our Contemporary" regional art exhibition (Leningrad, 1975)
・ "P" Is for Peril
・ "Pimpernel" Smith
・ "Polish death camp" controversy
・ "Pro knigi" ("About books")
・ "Prosopa" Greek Television Awards
・ "Pussy Cats" Starring the Walkmen
・ "Q" Is for Quarry
・ "R" Is for Ricochet
・ "R" The King (2016 film)
・ "Rags" Ragland
・ ! (album)
・ ! (disambiguation)
・ !!
・ !!!
・ !!! (album)
・ !!Destroy-Oh-Boy!!
・ !Action Pact!
・ !Arriba! La Pachanga
・ !Hero
・ !Hero (album)
・ !Kung language
・ !Oka Tokat
・ !PAUS3
・ !T.O.O.H.!
・ !Women Art Revolution


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

integer square root : ウィキペディア英語版
integer square root
In number theory, the integer square root (isqrt) of a positive integer ''n'' is the positive integer ''m'' which is the greatest integer less than or equal to the square root of ''n'',
: \mbox( n ) = \lfloor \sqrt n \rfloor.
For example, \mbox(27) = 5 because 5\cdot 5=25 \le 27 and 6\cdot 6=36 > 27.
==Algorithm==
One way of calculating \sqrt and \mbox( n ) is to use Newton's method to find a solution for the equation x^ - n = 0, giving the iterative formula
: _ = \frac\left(x_k + \frac\right), \quad k \ge 0, \quad x_0 > 0.
The sequence \ converges quadratically to \sqrt as k\to \infty. It can be proven that if x_ = n is chosen as the initial guess, one can stop as soon as
:| x_-x_| < 1
to ensure that \lfloor x_ \rfloor=\lfloor \sqrt n \rfloor.

抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「integer square root」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.